﻿@using Controllers
@{
    var func=new MyFunc();
}
<header>
<div style="font-size:12px;margin-top:8px;height:20px;">
    <img src=" http://server.wlfimms.com/upload/image/20170829/20170829090518_9549.gif" style="display:inline-block;float:left;width:12px;height:12px;margin-left:5px; "/><marquee class="px12" onmouseover="this.stop()" onmouseout="this.start()"  scrollamount="4" style="width:92%;float:left;line-height:1;font-size:12px;margin-left:5px;"></marquee>
</div>
<div style="clear:both;"></div>
    <h1 class="logo"><a href="/"><img src="@ViewBag.model.skin/mobile/images/logo.png" width="100%"/></a></h1>
</header>
<nav>
@{
var nav = func.GetNav(true);//获取导航
}
@for (int i = 0; i < nav.Count; i++)
{
<a href="@nav[i].url" title="@nav[i].title">@nav[i].title</a> 
} 
</nav>